package com.qy127.javaweb.entity;

import java.io.Serializable;

public class Staff implements Serializable {
    private Integer id;
    private Integer staffid;
    private String staffName;
    private String password;
    private String phone;
    private String idCard;
    private String address;

    public Staff() {
    }

    public Staff(Integer id, Integer staffid, String staffName, String password, String phone, String idCard, String address) {
        this.id = id;
        this.staffid = staffid;
        this.staffName = staffName;
        this.password = password;
        this.phone = phone;
        this.idCard = idCard;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStaffid() {
        return staffid;
    }

    public void setStaffid(Integer staffid) {
        this.staffid = staffid;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "id=" + id +
                ", staffid=" + staffid +
                ", staffName='" + staffName + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", idCard='" + idCard + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
